package vn.com.pavibook.dao;

import vn.com.pavibook.domain.model.AudioBook;
import vn.com.pavibook.domain.model.PagingInfo;
import vn.com.pavibook.domain.model.SearchResult;

public interface AudioBookDao {

	void save(AudioBook audioBook);

	SearchResult<AudioBook> getAudioBook(int publisher_id, PagingInfo pagingInfo);

	void delete(int id);
	
	SearchResult<AudioBook> getAudioBookByid(int id);

	SearchResult<AudioBook> getListAudioBookByUsername(int publisherId,
			PagingInfo pagingInfo, String keyword);
}
